package com.neusoft.Shixun.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

@TableName("clients")
public class Client implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer clientId;

    @TableField("client_name")
    private String clientName;

    @TableField("age")
    private Integer age;

    @TableField("gender")
    private String gender;

    @TableField("id_number")
    private String idNumber;

    @TableField("blood_type")
    private String bloodType;

    @TableField("family_contact")
    private String familyContact;

    @TableField("room_number")
    private String roomNumber;

    @TableField("bed_number")
    private String bedNumber;

    @TableField("admission_date")
    private LocalDate admissionDate;

    @TableField("contract_expiry")
    private LocalDate contractExpiry;

    @TableField("is_active")
    private Boolean isActive;

    @TableField("is_self_care")
    private String isSelfCare;

    @TableField("created_at")
    private LocalDateTime createdAt;

    @TableField("updated_at")
    private LocalDateTime updatedAt;

    @TableField("remark")
    private String remark;

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public Integer getClientId() {
        return clientId;
    }

    public void setClientId(Integer clientId) {
        this.clientId = clientId;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getBloodType() {
        return bloodType;
    }

    public void setBloodType(String bloodType) {
        this.bloodType = bloodType;
    }

    public String getFamilyContact() {
        return familyContact;
    }

    public void setFamilyContact(String familyContact) {
        this.familyContact = familyContact;
    }

    public String getRoomNumber() {
        return roomNumber;
    }

    public void setRoomNumber(String roomNumber) {
        this.roomNumber = roomNumber;
    }

    public String getBedNumber() {
        return bedNumber;
    }

    public void setBedNumber(String bedNumber) {
        this.bedNumber = bedNumber;
    }

    public LocalDate getAdmissionDate() {
        return admissionDate;
    }

    public void setAdmissionDate(LocalDate admissionDate) {
        this.admissionDate = admissionDate;
    }

    public LocalDate getContractExpiry() {
        return contractExpiry;
    }

    public void setContractExpiry(LocalDate contractExpiry) {
        this.contractExpiry = contractExpiry;
    }

    public Boolean getActive() {
        return isActive;
    }

    public void setActive(Boolean active) {
        isActive = active;
    }

    public String getIsSelfCare() {
        return isSelfCare;
    }

    public void setIsSelfCare(String isSelfCare) {
        this.isSelfCare = isSelfCare;
    }

    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    public LocalDateTime getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(LocalDateTime updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Client{" +
                "clientId=" + clientId +
                ", clientName='" + clientName + '\'' +
                ", age=" + age +
                ", gender='" + gender + '\'' +
                ", idNumber='" + idNumber + '\'' +
                ", bloodType='" + bloodType + '\'' +
                ", familyContact='" + familyContact + '\'' +
                ", roomNumber='" + roomNumber + '\'' +
                ", bedNumber='" + bedNumber + '\'' +
                ", admissionDate=" + admissionDate +
                ", contractExpiry=" + contractExpiry +
                ", isActive=" + isActive +
                ", isSelfCare='" + isSelfCare + '\'' +
                ", createdAt=" + createdAt +
                ", updatedAt=" + updatedAt +
                ", remark='" + remark + '\'' +
                '}';
    }
}
